<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/12/11
  Time: 13:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
    <title>Title</title>
</head>
<body>
<table bgcolor="#ccc" border="1">
    <caption>部门信息</caption>
    <tr>
        <th>部门编号</th>
        <th>部门名称</th>
        <th>部门地址</th>
    </tr>
    <s:iterator value="#attr.list" id="d">
        <tr>
            <td><s:property value="#d.deptid"/></td>
            <td><s:property value="#d.dname"/></td>
            <td><s:property value="#d.loc"/></td>
        </tr>
    </s:iterator>

</table>

</body>
</html>
